package com.cjh.wechat.websocket.service;

import java.util.List;
import com.cjh.wechat.commom.pojo.NotifyGroup;

public interface NotifyGroupService
{
    public List<NotifyGroup> findByGid(String gid, int pageNum, int pageSize);
    
    public int findByGidSum(String gid);
    
    public boolean isExist(String gid, String fromUid, Integer type);
    
    public void apply(NotifyGroup notifyGroup) throws Exception;
    
    public void agreeApply(Integer no) throws Exception;
    
    public void refuseApply(Integer no) throws Exception;
    
    public void updateByGidSelective(NotifyGroup notifyGroup);
    
    public void insertSelective(NotifyGroup notifyGroup);
}
